package com.feonix.common.permission;

public interface IPermissionAdapter {

	/**
	 * 检查controller 是否有权限
	 * 
	 * @param permissionStructure
	 * @return
	 */
	public abstract boolean checkController(PermissionStructure permissionStructure);

	/**
	 * 检查url 是否有权限
	 * 
	 * @param permissionStructure
	 * @param url
	 * @return
	 */
	public abstract boolean checkControllerWithURL(PermissionStructure permissionStructure, String url);

	/**
	 * jsp标签检查是否有权限
	 * 
	 * @param permissionStructure
	 * @return
	 */
	public abstract boolean checkTag(PermissionStructure permissionStructure);

}
